import request from '@/utils/request'


//获取所属模块
export const getDictType = () => {
  return request({
    url: '/api/dict/typeList',
    method: 'get',
  })
}
//获取所属语言
export const getDictList = (param:any) => {
  return request({
    url: '/api/dict/list',
    method: 'post',
    data:param
  })
}
//获取文章详情
export const getArticleDetail = (param:any) => {
  return request({
    url: '/api/article/detail',
    method: 'post',
    data:param
  })
}
//删除文章
export const deleteArticleDetail = (param:any) => {
  return request({
    url: '/api/article/delete',
    method: 'post',
    data:param
  })
}